////textin3.cpp -- reading chars to end of file
//#include <iostream>
//int main()
//{
//	using namespace std;
//	char ch;
//	int count = 0;
//	cin.get(ch);
//	while (cin.fail() == false)		//test for EOF
//	{
//		cout << ch;		//echo character
//		++count;
//		cin.get(ch);	// attempt to read anohter char
//	}
//	cout << endl << count << " character read \n";
//	return 0;
//}